package com.mousycoder.mysql.dao;

import com.mousycoder.mysql.domain.User;

import java.util.List;

/**
 * TODO
 *
 * @author mousycoder
 * @version 1.0
 * @date 2022/3/22 8:36 PM
 */
public interface UserDao {

    Boolean add(User user);

    Boolean update(User user);

    User locate(Long id);

    List<User> matchName(String name);

}
